namespace OasisCiq.Xnl
{
    using System.Collections.Specialized;
    using CommonTypes;
    using External;
    using XS;

    /// <summary>
    /// Name of a subdivision of an organisation (e.g. department)
    /// </summary>
    public class SubDivisionName : CTString, IAbbreviationGroup, IExtendedAttributes
    {
        public SubDivisionName(string value)
            : base(value)
        {
        }

        /// <summary>
        /// Type of sub division. e.g. department, warehouse, branch
        /// </summary>
        public virtual SubDivisionTypeList Type { get; set; }

        public virtual XSBoolean Abbreviation { get; set; }

        public virtual NameValueCollection ExtendedAttributes { get; set; }
    }
}